<template>
  <a-form-item style="text-align: center; padding-bottom: 48px">
    <a-button
      @click="$emit('cancel')"
      type="primary"
      ghost
      icon="close-circle"
      size="large"
      style="width: 140px"
      >取消退出
    </a-button>
    <a-button
      @click="$emit('save')"
      type="primary"
      icon="check-circle"
      size="large"
      style="width: 140px; margin-left: 24px"
      >{{saveText}}
    </a-button>
  </a-form-item>
</template>

<script>
export default {
  name: "SModalFooterButtons",
  props: {
    saveText: {
      type: String,
      default: "提交保存"
    }
  },
};
</script>
